package top.korori.sv.entity.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel("作品设置参数")
@Getter
@Setter
public class WorkPerSetBo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("作品id")
    @NotNull(message = "id不能为空")
    private Long workId;

    @ApiModelProperty("可见权限（0 公开 1 仅自己）")
    private Integer per;

    @ApiModelProperty("是否允许下载(0 允许 1 不允许)")
    private Integer isDown;

}
